$sql = "SELECT wp_user_wp_may.ID,wp_user_wp_may.id_may,wp_users.ID,wp_users.user_login
                            FROM wp_user_wp_may
                            INNER JOIN wp_users
                            ON wp_users.ID = wp_user_wp_may.ID
                            WHERE wp_user_wp_may.id_may = ".$id_may ;
                                                //echo $sql ;
                                                 $row = $wpdb->get_results($sql);
                                                 //var_dump($row );
                                                ?> 
                                               <table class="wp-list-table widefat fixed users" cellspacing="0">
                                                    <thead>
                                                     <tr>
                                                       <th scope="col" id="cb"  style=""> </th>
                                                       <th scope="col" id="username"  style=""> <span>Tài khoản</span></th>
                                                       <th scope="col" id="name"  style=""><span>Tên người dùng</span></th>
                                                       <th scope="col" id="email"style=""></th>
                                                     </tr>
                                                    </thead>
                                                     <tbody id="the-list" data-wp-lists="list:user">
                                        <?php 
                                          foreach($row as $key=>$value)
                                         {
                                          //var_dump($value);//break;
                                         ?>
                                              <tr id="user-<?php echo $value->ID; ?>" class="alternate">
                                                   <th scope="row" class="check-column">
                                                     <label class="screen-reader-text" for="cb-select-1"></label>
                                                   </th>
                                                     <td class="username column-username">
                                                       <strong><?php echo $value->user_login;?></strong>
                                                    </td>
                                                    <td class="name column-name"><?php echo $value->display_name;?></td>
                                                    <td class="email column-email">
                                                       
                                                       <ul style='position: relative;'>
                                                        <li style='height: 30px;'>
                                                        <input type="button" 
                                                         nguoidung="<?php echo $value->ID; ?>" 
                                                         idmay="<?php echo  $id_may;?>"
                                                         name="delng<?php echo $value->ID; ?>" 
                                                         id="delnguoidung" 
                                                         class="delnguoidung"
                                                         value="Xóa"
                                                         />
                                                       </li></ul>
                                                         
                                                    </td>
                                                                                         
                                                      </tr><!-- id="user-xyz" class="alternate" -->
  
                                        <?php             
                                              }// foreach($row as $key=>$value)
                                          ?>

                                   </tbody>
                             </table>

                 <script type="text/javascript">
                               jQuery(document).ready(function(){
                                    $("td input[name^='delng']").click(function() {
                                    var nguoidung = $(this).attr("nguoidung");
                                    var idmay = $(this).attr("idmay");
                                    $.ajax({
                                            url:"<?php bloginfo('url');?>/prosessing_admin_delngdung",
                                              type:"POST",
                                              data: {nguoidung:nguoidung,idmay:idmay},
                                              success: function(data)
                                              {
                                                //alert(data);
                                                $('#phanquyennguoidungadmin').html(data);
                                                location.reload();
                                               }
                                        });
                                    });
                                      
                                  })
                             
                 </script>

                  
                </p>
                
                <?php
                   echo '<h1></h1>';